package vip.afeng.rpgclient.util;

import java.util.UUID;

/**
 * @datetime: 2020/7/20 20:40
 * @project_name: afeng-rpg
 * @author: afeng
 *
 * 以后用redis生成, 或三方生成, 本地生成不靠谱
 */
public class GenerateID {

    public static String getPid() {

        UUID uuid = UUID.randomUUID();
        return uuid.toString();
    }

    public static void main(String[] args) {
        System.out.println(getPid());
    }
}
